package controllers

import (
	"github.com/goravel/framework/contracts/http"
	"github.com/goravel/framework/facades"
)

type SourceDatabaseController struct {
	// Dependent services
}

func NewSourceDatabaseController() *SourceDatabaseController {
	return &SourceDatabaseController{
		// Inject services
	}
}

func (r *SourceDatabaseController) Index(ctx http.Context) http.Response {
	return ctx.Response().View().Make("main.tmpl", map[string]any{
		"scripts": facades.Config().Get("web.scripts"),
		"links": facades.Config().Get("web.links"),
	})
}

func (r *SourceDatabaseController) Show(ctx http.Context) http.Response {
	return nil
}

func (r *SourceDatabaseController) Store(ctx http.Context) http.Response {
	return nil
}

func (r *SourceDatabaseController) Update(ctx http.Context) http.Response {
	return nil
}

func (r *SourceDatabaseController) Destroy(ctx http.Context) http.Response {
	return nil
}
